{% extends "base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% load static %}
{% load django_bootstrap5 %}
{% block title %}Edit RFCs affected by status change {{ doc.name }}{% endblock %}
{% block content %}
    {% origin %}
    <h1>
        Edit RFCs affected by status change
        <br>
        <small class="text-body-secondary">{{ doc.name }}</small>
    </h1>
    <form class="mt-3" method="post">
        {% csrf_token %}
        {% include "doc/status_change/edit_related_rows.html" %}
        {% if form.non_field_errors %}<div class="alert alert-danger my-3">{{ form.non_field_errors }}</div>{% endif %}
        <button type="submit" class="btn btn-primary">Save</button>
        <a class="btn btn-secondary float-end"
           href="{% url "ietf.doc.views_doc.document_main" name=doc.name %}">Back</a>
    </form>
{% endblock %}
{% block js %}
    <script src="{% static 'ietf/js/status-change-edit-relations.js' %}"></script>
{% endblock %}